package com.jonniespratley.codegen.services
{
	import flash.events.Event;

	public class DynamicRequestEvent extends Event
	{
		static public var DYNAMIC_RESULT_EVENT:String = 'dynamicRequestResult';
		static public var DYNAMIC_FAULT_EVENT:String = 'dynamicRequestFault';
		public var dynamicData:Object;
		public function DynamicRequestEvent( type:String, dynamicData:Object = null )
		{
			super( type );
			this.dynamicData = dynamicData;
		}
		override public function clone():Event
		{
			return new DynamicRequestEvent( type, dynamicData );
		}
	}
}